package com.zhuangjie.order.dto;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 合理的订单提交dto
 * 由SubmitOrderDTO重新计算得到LegalSubmitOrderDTO
 * @author zhuangjie
 * @date 2023/12/12
 */
@Data
public class LegalSubmitOrderDTO extends SubmitOrderDTO{
    /**
     * 预期交货时间
     */
    private LocalDateTime expectedDeliveryTime;
    /**
     * 估计需要的配送时长
     */
    private Integer deliveryDuration;

}
